libxc: restore: bounds check for start_info.{store_mfn,console.domU.mfn}
authorIan Campbell <ian.campbell@citrix.com>
Mon, 23 Jul 2012 12:09:38 +0000 (13:09 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 23 Jul 2012 12:09:38 +0000 (13:09 +0100)
commitc8c7017f064d03623c02a61fa35be6720591be90
treec9357d2f671a50c7a391b43d5f4d235cb5fa542b
parentc8e1f2f26584d4ef2767fa82fb54dc2c98bc6813
libxc: restore: bounds check for start_info.{store_mfn,console.domU.mfn}

These fields are canonicalised by the guest on suspend and therefore must be
valid pfns during restore.

Reported-by: Jonathan Ludlam <Jonathan.Ludlam@eu.citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_domain_restore.c